package com.cxh.dataservice.config;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Description: <br/>
 * date: 2020/7/6 11:15<br/>
 *
 * @author ChenXh<br />
 */
public class DataSourceStrategyFactory {

    public static Map dataSourceStrategyFactorymap = new ConcurrentHashMap();


    public static void setData(String key,Object value){
        dataSourceStrategyFactorymap.put(key,value);
    }

    public static Object getData(String key){
        return dataSourceStrategyFactorymap.get(key);
    }
}
